<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script type="text/javascript" src="js/jquery-3.0.0.js" ></script>
		<style>
			.b{width: 200px;
			   height: 200px;
			   background: salmon;
			   position: absolute;}
		</style>
	</head>
	<body>
		<div></div>
		<input type="button" name="按钮" id="按钮" value="按钮" />
		<div class="b">晕晕晕</div>
		<script>
		$(document).ready(function(){
			$("input").click(function(){
				$(".b").animate({
				top:'200px',
				width:'400px',
				height:'400px',
				},3000);
			});
		});
		$(document).ready(function(){
			$(".b").css({color:'red'})
		});
		</script>
			
		
		
	</body>
</html>
